<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"/>
    <title>华迅直购</title>
    <link rel="stylesheet" type="text/css" href="css/root.css"/>
    <link rel="stylesheet" type="text/css" href="css/entrance/home.css"/>
    <link rel="stylesheet" type="text/css" href="css/address/address.css"/>
    <script type="text/javascript" src="js/jquery-3.1.1.min.js?ver=2.0.4" charset="utf-8"></script>
    <script type="text/javascript" src="js/underscore-min.js"></script>
    <script src="js/base/api.js"></script>
    <script src="js/base/base.js"></script>
    <script src="js/vue/vue.js"></script>
<!--    <script src="cordova.js"></script>-->

    <script type="text/javascript" src="js/magiclamp.js?ver=2.0.3" charset="utf-8"></script>



    <script type="text/javascript" src="js/goodsstore_modefy.js" charset="utf-8"></script>
</head>
<body>
<div id="address_modefy">
    <header>
        <a @click="page_back" v-if="baseConfig.is_phone" class="h-left back-btn"><i
                class="iconfont icon-fanhui"></i></a>
        <h1 class="h-title">编辑代购店铺 </h1>
    </header>
    <div id="root">
        <form class="address-container" id="join-form" method="post">
            <img v-if="goods_info.small_image__fileurl" :src="baseConfig.qn_host+goods_info.small_image__fileurl+'?imageView2/0/w/300/h/300'" @click="upload_image" style="width: 100%;height: 20rem;" />
            <img v-if="!goods_info.small_image__fileurl" src="img/bg.jpg" style="width: 100%;height: 20rem;" @click="upload_image" />
            <input type="text" class="address-input" placeholder="店铺名称" v-model="goods_info.name"
                   maxlength="10">

            <textarea class="address-input address-textarea" rows="3" placeholder="地址"
                      v-model="goods_info.address" maxlength="100"></textarea>
            <textarea class="address-input address-textarea" rows="3" placeholder="介绍"
                      v-model="goods_info.desc" maxlength="100"></textarea>

            </p>
            <button class="add-bom-btn2" type="button" @click="modefy_address">提交</button>
        </form>
    </div>

</div>
</body>
</html>